package com.xiaohong.websocket.fallback;

import com.xiaohong.websocket.feign.ChatCentreFeigh;
import entity.Result;
import org.springframework.stereotype.Component;

/**
 * @author : xiaohong
 * @date : 2021/5/11 22:15
 */
@Component
public class ChatCentreFallback implements ChatCentreFeigh {

    @Override
    public Result<Integer> getStatus(Long cid) {
        System.out.println("ChatCentreFallback的getStatus方法错误，错误日志已保存数据库了哦");
        System.out.println("数据:"+ cid);
        return null;
    }
}
